﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace www.pages.sys
{
    public partial class run : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack) {
                hid_Project.Value = Request["project"] ?? "0";
            }
            BindDocuments();
        }

        private void BindDocuments()
        {
            list_docs.DataSource=Core.Core.DocumentUtil.GetList(Convert.ToInt32(hid_Project.Value));
            list_docs.DataBind();
        }
    }
}